package com.woniu.liuzhougov.authorityControl.service.impl;

import com.woniu.liuzhougov.authorityControl.dao.UserStatusMapper;
import com.woniu.liuzhougov.authorityControl.pojo.UserStatus;
import com.woniu.liuzhougov.authorityControl.service.UserStatusService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @version 1.0
 * @Author zhuxinpan
 * @ClassName UserStatusServiceImpl
 * @Description UserStatusService实现类
 * @Date 2019/4/23 22:38
 */
@Service
public class UserStatusServiceImpl implements UserStatusService {
    @Resource
    private UserStatusMapper userStatusMapper;

    /**
     * @Author zhuxinpan
     * @Description 列出所有用户状态
     * @params []
     * @date 2019/4/23 22:40
     * @return java.util.List<com.woniu.liuzhougov.authorityControl.pojo.UserStatus>
     */
    @Override
    public List<UserStatus> listUserStatuses() {
        return userStatusMapper.listUserStatuses();
    }
}
